package models

type Navigation struct {
	ID
	Name     string `json:"name" gorm:"not null;unique;comment:导航名称"`
	Url      string `json:"url" gorm:"not null;unique;comment:导航链接"`
	Icon     string `json:"icon" gorm:"comment:图标"`
	Desc     string `json:"desc" gorm:"comment:描述"`
	Sort     uint8  `json:"sort" gorm:"default=100;comment:排序"`
	AssortID uint   `json:"assort_id" gorm:"not null;comment:分类ID"`
	Assort   Assort
	TimeStamps
}
